package studio.raptor.hub.common.config;

import java.util.List;

/**
 * 渠道配置
 * 
 * @author liuyong@asiainfo.com 2017年6月13日 下午2:48:42
 */
public class ChannelConfig {

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 渠道码
     */
    private String code;

    /**
     * 渠道对应的处理类
     */
    private String className;

    /**
     * 渠道级别
     */
    private String level;

    private List<AdapterConfig> adapterConfigs;

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public List<AdapterConfig> getAdapterConfigs() {
        return adapterConfigs;
    }

    public void setAdapterConfigs(List<AdapterConfig> adapterConfigs) {
        this.adapterConfigs = adapterConfigs;
    }

    @Override
    public String toString() {
        return "ChannelConfig [channelName=" + channelName + ", code=" + code + ", className="
                + className + ", level=" + level + "]";
    }


}
